home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-09-23 | 1.1 KB | 43 lines | [TEXT/MPS ] |
- // MEenie.cp
- // Copyright © 1991 by Apple Computer, Inc. All rights reserved.
-
- #pragma once
-
-
- // INCLUDES ---------------------------------------------------------------------------
-
- #include "UEenie.h"
- #include "EenieRez.h"
-
-
- // T H E M A I N P R O G R A M -----------------------------------------------------
-
- #pragma processor 68000
- #pragma segment Main
-
-
- TAdornerApplication* gAdornerApplication; // the application object
-
- void main()
- {
- InitToolBox(); // essential toolbox and utilities initialization
-
- // make sure we can run
- if (ValidateConfiguration(gConfiguration) && gConfiguration.hasColorQD){
- // we made it! Continue with remainder of initialization
-
- InitUMacApp(8); // initialize MacApp; 8 calls to MoreMasters
- InitUDialog(); // initialize the TDialog view handling
-
- // construct a new TAdornerApplication object, allocation errors are checked for.
- gAdornerApplication = new TAdornerApplication;
- gAdornerApplication->IAdornerApplication(kFileType, kSignature);
-
- gAdornerApplication->Run(); // run the application, when it's done - exit.
- }
- else
- StdAlert(phUnsupportedConfiguration);
- }
-
-
-